package com.ninong.ker.log;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author cmd
 * @date 2018/11/15 9:20:19
 */
@EnableAsync
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableDiscoveryClient
@MapperScan("com.ninong.ker.log.mapper")
@ComponentScan(basePackages = {"com.ninong.ker.log","com.ninong.ker.common"})
public class CmdLogApplication {

	public static void main(String[] args) {
		SpringApplication.run(CmdLogApplication.class, args);
	}
}
